package com.lym.echo.mapper;

import com.lym.echo.entity.Post;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Liym on 2021/8/29
 */
@Mapper
public interface PostMapper {

    int selectDiscussPostRows(int userId);

    List<Post> selectPosts(int userId, int offset, int limit, int orderMode);
}
